#ifndef CUBEPRIMITIVE_H
#define CUBEPRIMITIVE_H

<<<<<<< .mine
#include "Object.h"
#include <QImage>
#include <gl.h>
=======
#include <qgl.h>
#include <iostream>
>>>>>>> .r4

class CubePrimitive : public Object
{
public:
	CubePrimitive();
	CubePrimitive(double sideLength);
	CubePrimitive(double sideLength, double x, double y, double z);
	CubePrimitive(double x, double y, double z);
	~CubePrimitive();

	void draw();
	void setPos(double x, double y, double z);
	void setRot(double x, double y, double z);
	void setSize(double sideLength);
	void setColor(double r, double g, double b);

	GLuint getTexID();

private:
	void loadDefaultTexture();

	double size;
	double xRot, yRot, zRot;
	double xPos, yPos, zPos;
	double r, g, b;

	GLuint texID;
	GLuint heightID;
	QImage* texture;
	QImage* heightMap;
};
<<<<<<< .mine

#endif // CUBEPRIMITIVE_H
=======

#endif // CUBEPRIMITIVE_H>>>>>>> .r4
